home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part2 / 11602 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  4.5 KB

  1. Path: news.ultranet.com!usenet
  2. From: "Albert P. Belle Isle" <belleisl@cerberus-sys.com>
  3. Newsgroups: alt.winsock.trumpet,alt.winsock,comp.dcom.modems
  4. Subject: Re: Best settings?
  5. Date: Fri, 19 Apr 1996 12:37:54 -0400
  6. Organization: Cerberus Systems, Inc.
  7. Message-ID: <3177C162.443C@cerberus-sys.com>
  8. References: <3174507B.7A6@ix.netcom.com>
  9. NNTP-Posting-Host: apb-p5-90.cerberus-sys.com
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 2.01 (Win16; I)
  14.  
  15. Peter Cumming wrote:
  16. > What are the optimum setting for 2.1f PPP using USR 14.4 modem, hooked to
  17. > Netcom and using Netscape Navigator 16bit 2.01 version???
  18. > -Should I disable or enable the MNP error correction on the modem?
  19. > -How about the ARQ error correction?
  20.  
  21. Peter:
  22.  
  23. Unless you have a noise-free telephone connection to your ISP, the PPP frame check 
  24. errors resulting from byte-garbling without V.42 will swamp the "send the whole packet 
  25. again" (slow) software error correction of TCP, and may even cause PPP to hang-up on 
  26. you.
  27.  
  28. With V.42 error-correcting protocols (either Link Access Procedure for Modems, or 
  29. Microcom Network Protocols), your modem strips-off the start- and stop-bits framing 
  30. each asynchronously (RS-232) transmitted 8-bit byte from your com port. It uses the 
  31. resulting overhead-free data stream to encode an analog carrier with 6-bit-per-symbol 
  32. analog symbols that it sends at 2400 symbols-per-second (baud) in long, synchronous 
  33. frames. The result is that the 14400 bps modem-to-modem transfer rate is almost all 
  34. data, without the overhead of start- and stop-bits, so you get a 20% speed boost.
  35.  
  36. Conversely, if your modem accepts 14400 bps from the other modem using V.42, it must 
  37. use RS232 to send the data asynchronously over your com port, so the addition of start- 
  38. and stop-bits around each 8 bits of data means that your com port must unload data at 
  39. 10 bits per byte, or 19200bps. If that modem data was compressed, its de-compression 
  40. multiplies the required unloading rate(s) by the compression factor.
  41.  
  42. The Lemple-Ziv-Welch compression of V42bis is more effective than the Huffman 
  43. compression of MNP5, but the slightly compressible JPG images, the moderately 
  44. compressible GIF images and the 3- or 4-to-1 compressible text usually means that you 
  45. can get a 2-to-4 times speed-up of web pages (as opposed to no speedup on zip-files, 
  46. since the version of LZW in pkzip is already more effective than that in V42bis). This 
  47. means that the 19200 bps minimum acceptable unloading rate for your com port is 
  48. multiplied by 2-to-4 times if you want to avoid throttling your modem.
  49.  
  50. Try 57600, and if you get a few com overrun errors, drop back to 38400 bps. (If you get 
  51. a lot of overruns, you have system configuration problems to address before worrying 
  52. about things like WinSock settings.)
  53.  
  54. > -Should I try MTU at about 1006 and MSS at about 960?
  55.  
  56. Since, unlike SLIP, PPP is standardized, the default MTU of 1500 is a set-and-forget 
  57. value that all PPP servers accept, including Netcom's.
  58.  
  59. Due to the slow speed of an analog modem (compared to the 1544-or-more bps of much of 
  60. the Internet), you'll probably find that the largest MSS that will fit (with 40 bytes 
  61. of headers) in the Internet default MTU of 576 will give you the maximum speed through 
  62. your modem (1.6KBytes/sec on Netscape Navigator's speedometer) on local downloads, 
  63. without IP fragmentation slow-down on longer routing paths. (i.e. MSS=536.)
  64.  
  65. > -How about Rwin at 4096
  66.  
  67. Since RWIN is the maximum value of the TCP data flow control window, it should be an 
  68. integer multiple of the size TCP data segments you're requesting through your MSS 
  69. setting, or you'll be requesting that small left-over segments be sent. Try 8*MSS, and 
  70. if you get too many TCP re-synchronizing pauses due to "unacceptable segments," drop 
  71. back to 6- or 4-times.
  72.  
  73. > -Should Jacobsen Compression be on?
  74.  
  75. Absolutely, as it reduces the TCP/IP header data sent over the PPP (modem) link to only 
  76. that which changed from the last packet. In long streams of packets from the same 
  77. sender to you (like downloads) that reduces the average number of header bytes per TCP 
  78. data segment from 40 to less than 10 - another small but noticeable speed boost over 
  79. your modem.
  80.  
  81. You might want to take a look at the FAQ at the URL listed below.
  82.  
  83. Regards,
  84.  
  85. Al
  86.  
  87.  
  88. -- 
  89. ==================================================================
  90. Albert P. Belle Isle
  91. Cerberus Systems, Inc.
  92.  
  93. Al's Winsock Tuning FAQ -
  94.        http://www.cerberus-sys.com/~belleisl/mtu_mss_rwin.html
  95. ==================================================================
  96.